package com.cms.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.exception.SystemDBException;
import com.cms.model.TrUserRole;

public interface UserRoleMapper {

	 /***
	  * 
	  * @param roles
	  * @throws SystemDBException
	  */
	 public void addUserRole(@Param("roles")List<TrUserRole>roles)throws SystemDBException;
	 
	 
	 /***
	  * 
	  * @param userId
	  * @throws SystemDBException
	  */
	 public void deleteUserRole(@Param("userId")int userId)throws SystemDBException;
}
